x = eval(input("请输入数组："))
y = list(x)
b = []
for i in range(1,10,2):
    a = y[i]
    b.append(a)
c =sum(b)
print(c)
